package com.quickdemo.service;

import com.quickdemo.pojo.dto.IdVersion;
import com.quickdemo.pojo.dto.UserDTO;
import com.quickdemo.pojo.dto.UserPageQueryDTO;
import com.quickdemo.result.PageResult;

public interface UserService {
    void add(UserDTO userDTO);

    PageResult pageQuery(UserPageQueryDTO userPageQueryDTO);

    UserDTO findById(Long id);

    void deleteById(Long id);

    void deleteByIds(IdVersion[] idVersions);

    void update(UserDTO userDTO);
}
